package com.dobbinsoft.iotechn.ability.model;

import lombok.Data;

import java.util.List;

/**
 * Description:
 * User: rize
 * Date: 2020/7/7
 * Time: 15:58
 */
@Data
public class DeviceOpenApiDocument implements Comparable<DeviceOpenApiDocument> {

    /**
     * 组装起来的APi名称 time.getGmt
     */
    private String name;

    private String description;

    private List<DeviceOpenApiReturnDocument> returnDocumentList;

    private List<DeviceOpenApiParamDocument> paramDocumentList;

    @Override
    public int compareTo(DeviceOpenApiDocument o) {
        return this.name.compareTo(o.name);
    }
}
